package myextends.test2;

public class Coder extends Employee {
    public Coder() {
    }

    public Coder(String name, int age, int salary) {
        super(name, age, salary);
    }

    public void work(){
        System.out.println("姓名"+getName()+"年龄:"+getAge()+"工资:"+getSalary()+"程序员在写代码");
    }

}
